package com.pandora.credit.mongo.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author developer
 */
public class TrDataSource {

    @Field(value = "auth_state")
    @JsonProperty(value = "auth_state")
    private Integer authState;

    @Field(value = "driver_auth_state")
    @JsonProperty(value = "driver_auth_state")
    private Integer driverAuthState;

    @Field(value = "level")
    @JsonProperty(value = "level")
    private Integer level;

    @Field(value = "mobile")
    @JsonProperty(value = "mobile")
    private String mobile;

    @Field(value = "name")
    @JsonProperty(value = "name")
    private String name;

    @Field(value = "reg_time")
    @JsonProperty(value = "reg_time")
    private String regTime;

    @Field(value = "type")
    @JsonProperty(value = "type")
    private String type;

    public Integer getAuthState() {
        return authState;
    }

    public void setAuthState(Integer authState) {
        this.authState = authState;
    }

    public Integer getDriverAuthState() {
        return driverAuthState;
    }

    public void setDriverAuthState(Integer driverAuthState) {
        this.driverAuthState = driverAuthState;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRegTime() {
        return regTime;
    }

    public void setRegTime(String regTime) {
        this.regTime = regTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
